<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<title>评价成功页</title>
		<link rel="stylesheet" type="text/css" href="../css/api.css"/>
		<link rel="stylesheet" type="text/css" href="../css/common.css"/>
		<link rel="stylesheet" type="text/css" href="../css/commit_succed.css"/>
		<style>
			body {
			}
		</style>
	</head>
	<body>
		<header class="top-header">
			<div class="top-nav-content flex-container flex-between flex-center-v">
				<div id="acms-btn-back" class="top-nav-left icon-arrow-left"></div>
				<div>
					评价
				</div>
				<div class="top-nav-right"></div>
			</div>
		</header>
		<div class="commit-succeed-container">
			<div class="commit-succeed-image"></div>
			<div class="commit-succeed-title">
				提交成功
			</div>
		</div>
	</body>
	<script type="text/javascript" src="../script/api.js"></script>
	<script type="text/javascript" src="../script/common.js"></script>
	<script type="text/javascript">
		//上一页的name
		var mLastPgName;
		apiready = function() {
			//适配iOS7+，Android4.4+状态栏沉浸式效果，详见config文档statusBarAppearance字段
			$api.fixStatusBar($api.dom('header'));
			mLastPgName = api.pageParam.name;
			initView();
		};
		function initView() {
			var btnBack=document.getElementById('acms-btn-back');
			btnBack.onclick=function(){
				 closeThisPg();
			}
			setCloseListener()
		}

		function closeThisPg() {
			api.closeToWin({
				name : mLastPgName
			});
		}

		function setCloseListener() {
			api.addEventListener({
				name : 'keyback'
			}, function(ret, err) {
				if (ret) {
					closeThisPg();
				} else {
					MyCom.errorTip(1);
				}
			});
		}
	</script>
</html>